/******************************************************************************
 *                       B O M B E R M A N  2 0 1 2
 * 
 * File Name: Entity.java
 * 
 * COP 4331 Summer 2012 Project
 * 
 * Authors: Trevor Mancuso, Chris Chiarella, Zach Hoyler, Daniel Martin
 * 
 * 
 * Description: Superclass for everything with an x,y coordinate.
 * 
 ******************************************************************************/
package bomberman;

import java.awt.Image;

/**
 *
 * @author Zach
 */
public class Entity 
{
    //variables for the position and sprite
    public int xPos;
    public int yPos;
    private Image sprite;
    
    //return the x location
    public int getX()
    {
        return xPos;
    }
    
    //return the y location
    public int getY()
    {
        return yPos;
    }
    
    //return the sprite
    public Image getSprite()
    {
        return sprite;
    }
    
    //set the sprite
    public void setSprite(Image s)
    {
        sprite = s;
    }
    
}
